package com.gulimall.auth.feign;

import com.common.utils.R;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: Ren(任佳宝)
 * @Description: ThirdPartFeignService
 * @Date: 2025/2/7 下午12:38
 * @Version: 1.0
 */
@FeignClient("gulimall-third-party")
public interface ThirdPartFeignService {

    /**
     * 远程调用 短信接口服务
     */
    @GetMapping("/sms/sendcode")
    public R sendCode(@RequestParam("phone") String phoneNum,@RequestParam("code") String code);

}
